package com.eden.manage.utils.mapstruct;

import com.eden.manage.dto.PlatDto;
import com.eden.manage.dto.agent.AgentProfitDto;
import com.eden.manage.dto.member.MemberProfitDto;
import com.eden.manage.model.EdenMemberProfitParam;
import com.eden.manage.model.EdenPlat;
import com.eden.manage.model.EdenAgentProfitParam;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface PlatStructUtils {
    PlatStructUtils INSTANCE = Mappers.getMapper(PlatStructUtils.class);

    EdenPlat convertDtoToDB(PlatDto platDto);

    EdenAgentProfitParam convertParamDtoToDB(AgentProfitDto platDto);
    EdenMemberProfitParam convertMemberParamDtoToDB(MemberProfitDto platDto);

}
